package bean;

public class Record {
	String id;
	String name;
	String tim;
	String title;
	String content;
	String recall="-1";  // -1 表示主题帖
	
	public Record() {}
	public Record(
			String id,
			String name,
			String tim,
			String title,
			String content,
			String recall
			) {
		this.id=new String(id);
		this.name=new String(name);
		this.tim=new String(tim);
		this.title=new String(title);
		this.content=new String(content);
		this.recall=recall!=null?new String(recall): "";
	}
	public String getTim() {
		return tim;
	}
	public void setTim(String tim) {
		this.tim = tim;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getRecall() {
		return recall;
	}
	public void setRecall(String recall) {
		this.recall = recall;
	} 
}
